# Copyright (c) 2022 - 2023, Arm Limited and Contributors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_executable(nimble-npl-os-test
    test_nimble_npl_os.cpp
    ../src/nimble_npl_os.c
)

target_compile_options(nimble-npl-os-test PRIVATE -UNDEBUG)

target_include_directories(nimble-npl-os-test
    PRIVATE
        ../mocks/inc
        ../inc
)

target_link_libraries(nimble-npl-os-test
    PRIVATE
        fff
        project_options
        cmsis-core-mock
        cmsis-rtos-api-mock
)

iotsdk_add_test(nimble-npl-os-test)
